﻿using UnityEngine;
using System.Collections;

public class CheckView : MonoBehaviour {

	public bool isView = false;
	void OnWillRenderObject(){
		isView = true;
		print ("visible");
	}
	void OnBecameInvisible(){
		isView = false;
		print ("invisible");
	}
}
